package org.qf.service;

import org.qf.mapper.GoodMapper;
import org.qf.mapper.UserMapper;
import org.qf.pojo.Good;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodService {
    @Resource
    public GoodMapper goodMapper;

    public List<Good> selectAll() {
        List<Good> goods = goodMapper.selectAll();
        return goods;
    }
}
